angular.module('app').directive('appPositionInfo', [function() {
    return {

        restrict: 'A',
        replace: true,
        templateUrl: 'views/template/appPositionInfo.html',
        scope:{
        	isActive:'=',
        	isLogin:'=',
        	pos:'='
        },
        link:function (scope) {
        	scope.imgPath = scope.isActive?'image/star.png':'image/star-active.png'
        }
    }
}])